<?
$email=$address;
$subject = "Somebody want be a friend with you!";
$default_msg="This mail sended by PalHunt! <br><br>-----------------------------------------------------------------------------<br><br>";
$message=$default_msg.$comment;
$headers  = 'MIME-Version: 1.0' . "\r\n";
$headers .= 'Content-type: text/html; charset=euc-kr' . "\r\n";
$headers .= 'From: PalHunt<palhunt@kuls.net>' . "\r\n";
//echo $email.$subject.$message.$headers;
if (mail($email, $subject, $message, $headers)) 
 $r="okay";
else
 $r="failed";
?>
<script>
self.close();
</script>

